package org.ruanjj.io;

import org.junit.Test;

import java.io.*;

public class InputStreamReaderMain {
    @Test
    public void test() {
        File a = new File("p1.jpeg");
        try(
                FileInputStream fi = new FileInputStream(a);
                InputStreamReader is = new InputStreamReader(fi)
        ){

        } catch (FileNotFoundException e) {
            throw new RuntimeException(e);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
